html,body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #f7f7f7;
  min-width: 800px;
  min-height: 600px;
  overflow: hidden;
}
#app {
  display: -webkit-flex; /*Safari*/
  display: flex;
  flex-direction: column;
  height: 100%;
}


.content {
  display: flex;
  height: 100%;
  margin-top: 5px;
}

.side-bar {
  display: flex;
  width: 15%;
  flex-direction: column;
  align-items: center;
}

.new-btn {
  text-align: center;
  width: 100%;
  background-color: #0985db;
  margin:0px 5px;
  height: 44px;
}
.new-btn button {
  border: none;
  height: 100%;
  width: 100%;
  outline: none;
  background-color: transparent;
  color: #FFFFFF;
}
.list {
  height: 50px;
  line-height: 50px;
  width: 100%;
  border-bottom: solid #E9E9E9 1px;
  font-size: 14px;
}

.font {
  display: block;
  margin-left: 20px;
  margin-right: 20px;
  /*width: 100%;*/
  max-width:31em;
  white-space:nowrap; /*禁止换bai行*/
  text-overflow:ellipsis; /*文本超出隐藏*/
  overflow: hidden; /*隐藏，跟text-overflow配合使用*/
}

.edit-bar {
  background-color:#E9E9E9;
  height: 44px
}
input {
  border-style: none none solid none;
  border-color: #5c6b77;
  margin: 5px;
  height: 30px;
  width: 30%;
  background-color: transparent;
  outline: none;
}
.del-btn, .delall-btn{
  border: none;
  height: 30px;
  width: 20%;
  background-color: #5c6b77;
  color: #FFFFFF;
  margin:5px;
}
.edit-panel {
  width: 45%;
  height: 100%;
}
.txt-edit {
  display: flex;
  height: 100%;
  width: 100%;
  /*overflow-y: auto;*/
}

.leftBox {
  font-size: 14px;
  line-height: 1.5;
  background-color: #222222;
  height: 100%;
  width:40px;
  height:63em;
  text-align:right;
  float: left;
  color: #E9E9E9;
  padding-right: 5px;
  padding-top: 2px;
  margin-bottom: 5px;
  overflow: hidden;
}

#lefNum {
  width: 60px;
  height: 100%;
  /*overflow-y: scroll;*/
}
#txt-area {
  width: 95%;
  height: 63em;
  background-color: #333333;
  color: #FFFFFF;
  font-size: 14px;
  resize: none;
  border-style: none;
  margin-top: 0;
  margin-bottom: 5px;
  padding-top: 0;
  line-height: 1.5;
  outline: none;
  overflow-y: auto;
}

.show-panel {
  width: 40%;
  margin-top: 0;
  padding-top: 0;
  margin-left: 5px;
  padding-left: 5px;
}
.selected {
  background-color: #42b983;
}